package com.example.demo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
 * 配置文件
 *
 * @Author: 王文龙
 * @Date: 2020/7/23 10:08
 * @Version: 1.0
 * @Describe: 描述:
 */
@Data
@Component
@ConfigurationProperties(prefix = "rocket-mq")
public class RocketMqConfig {


    private String namesrvAddr;
    private String consumerGroup;
    private String topic;
    private String tag;
    private String instanceName;
    private String producerGroup;

}